/*
 * @Author: xinqiao lxq1990.0716@qq.com
 * @Date: 2023-12-14 14:14:41
 * @LastEditors: xinqiao lxq1990.0716@qq.com
 * @LastEditTime: 2024-06-14 14:51:33
 * @FilePath: \partal\src\config\contribute\modules\primary.ts
 * @Description: 贡献-核心成员
 */

import { PLANTTYPE_ENUM } from "@/enum/globalEnum"

const baseUrl = 'https://ssc-design-1311112663.cos.ap-guangzhou.myqcloud.com/contribute/'

const pc = [
  { name: '韩安', dept: '医疗健康综合监管', avatar: `${baseUrl}/hanan.jpg` },
  { name: '卢信桥', dept: '数字资产银行', avatar: `${baseUrl}/luxinqiao.jpg`}
]

const h5 = [
  { name: '韩安', dept: '医疗健康综合监管', avatar: `${baseUrl}/hanan.jpg` },
  { name: '黄文豹', dept: 'DAB', avatar: `${baseUrl}/huangwenbao.jpg`},
  { name: '卢信桥', dept: '数字资产银行', avatar: `${baseUrl}/luxinqiao.jpg`}
]

export const getPrimary = (plant: PLANTTYPE_ENUM) => {
  if (plant === PLANTTYPE_ENUM.PC) return pc
  if (plant === PLANTTYPE_ENUM.H5) return h5
  return []
}
